<?php

$sql = "SELECT * FROM pctroubleshooting_topic";
$rs = $link->execute($sql);
$tmp = '
<table width="100%" border="0" cellspacing="0" cellpadding="0" background="' . $info['template_image_path']. 'bg.gif)" align="center" style="background-position:center;background-repeat:no-repeat">
';
while ( !$rs->EOF )
{
	$tmp .= '<tr><td style="padding-top:3px;padding-bottom:3px" class="clsLang">&nbsp;
	<img src="' . $info['template_path'] . 'images/bullet.gif">&nbsp;<a href="modules.php?p=' . setURLParams('act=dyn&mod=PCTroubleshooting&f=view_article_list&tid=' . $rs->fields('Id') . '') . '">' . $rs->fields('tname_' . $_SESSION['cur_lang']) . '</a>
	</td></tr>';
	
	$rs->MoveNext();
}
$tmp .= '</table>';

$_blockTitle = $lang['l_pc_listtopic'];
$_blockContent = $tmp;
?>